package com.gz.aop;

import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class ClearTokenAspect {

    @After("execution(* com.gz.controller.*.*(..))")
    public void clearToken() {
        TokenHolder.clearToken();
    }
}